package com.mfs.proxy.client;

import com.mfs.common.utills.TaskUtil;
import com.mfs.proxy.core.client.reactor.ClientReactor;
import com.mfs.proxy.core.client.reactor.SubClientReactor;

/**
 * 代理客户端启动类
 * @author mfs
 * @date 2023-07-30
 * */
public class ReverseProxyClient {
    public static void main(String[] args) {
        // ClientReactor 发生异常，则整个客户端程序退出
        TaskUtil.start(new ClientReactor());
        TaskUtil.daemonStart(new SubClientReactor());
    }

}
